home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga News 96
/
Amiga News 96.iso
/
amig_ad_os
/
avm
/
prog
/
source
/
dialnumber.avmsrc
< prev
next >
Wrap
Text File
|
1977-12-31
|
4KB
|
231 lines
startrecord=true
label=
nodetype=7
filename=avm:rexx/stdhead.avm
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=parse upper arg servername mailbox magiccookie sendType .
line2=
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=call loadLogEntry(mailbox, magiccookie)
line2=
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=if log.returnNumber = '' then do
line2= log.returnStatus = 'No Tel#'
line3= log.returnRetry = 0
line4= signal sendVoiceDone
line5=end
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=numberToDial = log.returnNumber
line2=
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=14
comment=Dial up to three times
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=dialNumber
nodetype=8
line1=numTries = 3
line2=
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=sendVoiceRedial
nodetype=15
number=log.returnnumber
busyactiontype=0
busyactionaction=sendVoiceAgain
timedoutactiontype=0
timedoutactionaction=sendVoiceAgain
abortactiontype=2
abortactionaction=log.returnStatus = 'Abort'; log.returnRetry = 0; signal sendVoiceDone
erroractiontype=2
erroractionaction=log.returnStatus = 'Error'; log.returnRetry = 0; signal sendVoiceDone
nextactiontype=0
nextactionaction=sendVoiceConnected
endrecord=true
startrecord=true
label=sendVoiceAgain
nodetype=5
mode=2
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=16
timeout=5
abortactiontype=2
abortactionaction=log.returnStatus = 'Abort'; log.returnRetry = 0; signal sendVoiceDone
erroractiontype=2
erroractionaction=log.returnStatus = 'Error'; log.returnRetry = 0; signal sendVoiceDone
nextactiontype=2
nextactionaction=
endrecord=true
startrecord=true
label=sendVoiceRetry
nodetype=8
line1=numTries = numTries - 1
line2=if numTries <= 0 then do
line3= log.returnStatus = 'Busy'
line4= signal sendVoiceDone
line5=end
line6=
line7=
line8=
line9=
line10=
nextactiontype=0
nextactionaction=sendVoiceRedial
endrecord=true
startrecord=true
label=
nodetype=8
line1=numTimes = numTimes - 1
line2=if numTimes <= 0 then do
line3= signal sendVoiceTimedOut
line4=end
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=0
nextactionaction=sendVoiceRepeat
endrecord=true
startrecord=true
label=sendVoiceTimedOut
nodetype=8
line1=log.returnStatus = 'Sent-TimedOut'
line2=log.returnRetry = 0
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=0
nextactionaction=sendVoiceDone
endrecord=true
startrecord=true
label=sendVoiceBusy
nodetype=8
line1=log.returnRetry = 0
line2=log.returnStatus = 'Sent-Busy'
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=0
nextactionaction=sendVoiceDone
endrecord=true
startrecord=true
label=sendVoiceOK
nodetype=8
line1=log.returnRetry = 0
line2=log.returnStatus = 'Sent+'
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=sendVoiceDone
nodetype=8
line1=if log.returnRetry > 0 then do
line2= log.returnRetry = log.returnRetry - 1
line3= log.time = cTime() + log.returnInterval * 60
line4=end
line5=
line6=call updateLogEntry(mailbox, magicCookie)
line7=
line8=
line9=
line10=
nextactiontype=2
nextactionaction=exit
endrecord=true
startrecord=true
label=
nodetype=7
filename=avm:rexx/simplestdtail.avm
nextactiontype=3
nextactionaction=
endrecord=true